package org.test.springcloud.treeleaf.web;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import java.util.Arrays;

/**
 * @author yaoshuhong
 * @date 2016-08-09 17:30
 */
@Component
public class TreeleafCommandLineRunner implements CommandLineRunner {

    private Logger log = LoggerFactory.getLogger(TreeleafCommandLineRunner.class);

    @Override
    public void run(String... strings) throws Exception {
        log.info("参数:", Arrays.toString(strings));
    }
}
